package java_option.audio_a013.javafx;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class AudioPlayApplication extends Application {

	@Override
	public void start(Stage primaryStage) throws Exception {
		try {
			primaryStage.setAlwaysOnTop(true);
			
			Parent parent = FXMLLoader.load(getClass().getResource("/AudioPlay.fxml"));
			primaryStage.setTitle("声音播放"); //
			primaryStage.setScene(new Scene(parent));
			primaryStage.show();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	public static void main(String[] args) {
		launch(args);
	}
}
